package com.taxi.servicemap.service;

import com.taxi.common.dto.ResponseResult;
import com.taxi.common.response.TrackResponse;
import com.taxi.servicemap.remote.TrackClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Ruomeng
 * @Date: 2022/10/8
 * @Description : online-taxi
 * @Version: 1.0
 */
@Service
public class TrackService {

    @Autowired
    TrackClient trackClient;

    public ResponseResult<TrackResponse> add(String tid) {

        return trackClient.add(tid);
    }
}
